package model;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.DiscriminatorValue;
import javax.persistence.Entity;
import javax.persistence.Inheritance;
import javax.persistence.InheritanceType;

/**
 * @author soreas + morarg Entity implementation class for Entity: Repository
 * 
 */
@Entity
@Inheritance(strategy = InheritanceType.JOINED)
@DiscriminatorValue("Repository")
// @SequenceGenerator(name="seq", initialValue=1, allocationSize=100)
public class Repository extends Folder implements Serializable {

	@Column(nullable = false)
	private String repoUrl;

	private static final long serialVersionUID = 1L;

	public Repository() {
		super();
	}

	public String getRepoUrl() {
		return this.repoUrl;
	}

	public void setRepoUrl(String repoUrl) {
		this.repoUrl = repoUrl;
	}

	@Override
	public String toString() {
		return "Repository [repoUrl=" + repoUrl + "]";
	}

}
